package com.briup.product_source.dao;

import com.briup.product_source.pojo.DiseaseRecord;
import com.briup.product_source.pojo.ext.DiseaseRecordExt;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DiseaseRecordMapper {

    List<DiseaseRecord> selectAll();

    int add(DiseaseRecord diseaseRecord);

    int updateByPrimaryKey(DiseaseRecord diseaseRecord);

    DiseaseRecord selectByPrimaryKey(Integer id);

    int deleteById(Integer id);

    int deleteByChoice(List<Integer> result);

}